1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHR01000.xrw
- * 설 명 : 검사결과관리[일반건진]
- * 설 계 자 : 김호익
- * 작 성 자 : 김호익
- * 작 성 일 : 2007.07.13
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptinfo>
- <item>
- <pid/>
- <hngnm/>
- <rgstno1/>
- <rgstno2/>
- <sex/>
- <age/>
- <cmpycd/>
- <cmpynm/>
- <pkgcd/>
- <pkgnm/>
- <schlgrde/>
- <clsid/>
- <stuid/>
- <plceflag/>
- <orddd/>
- <judgdd/>
- <judgdrid/>
- <drnm/>
- <reexamfg/>
- </item>
- <rsltlst>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst>
- <rsltlst2>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst2>
- <judginfo>
- <firstjudg>
- <fst_inqryn>Y</fst_inqryn>
- <fst_estmamt/>
- <fst_judgcd/>
- <fst_bjudgdetl/>
- <fst_etcsickflag/>
- <fst_etcsickcnts/>
- <fst_cjudgdetl/>
- <fst_etcsickcnts1/>
- <fst_r1judgdetl/>
- <fst_etcsickcnts2/>
- <fst_r2judgdetl/>
- <fst_judgexamcd/>
- <fst_judgexamcnts/>
- <fst_histflag/>
- <fst_histcnts/>
- <fst_lifestatflag/>
- <fst_lifestatcnts/>
- <fst_trmaflag/>
- <fst_gnrlstatflag/>
- <fst_judgdd/>
- <fst_judgdrid/>
- <fst_d1sickyn/>
- <fst_d1sickcd/>
- <fst_d2sickyn/>
- <fst_d2sickcd/>
- <fst_aftmngt/>
- <fst_ajudgcd/>
- <fst_bjudgcd/>
- <fst_cjudgcd/>
- <fst_r1judgcd/>
- <fst_r2judgcd/>
- <fst_barojochicnts/>
- <fst_item01/>
- <fst_item02/>
- <fst_item03/>
- <fst_item04/>
- <fst_inqrdrid/>
- </firstjudg>
- <firstd1sicklst>
- <judgdetlcd/>
- <sickcd/>
- <sicknm/>
- </firstd1sicklst>
- <firstd2sicklst>
- <judgdetlcd/>
- <sickcd/>
- <sicknm/>
- </firstd2sicklst>
- <secondjudg>
- <sec_judgcd/>
- <sec_D1sickcd/>
- <sec_D2sickcd/>
- <sec_aftercd/>
- <sec_judgexamcd/>
- <sec_rsltsmmcnt/>
- <sec_judgdd/>
- <sec_judgdrid/>
- <sec_bjudgdetl/>
- <sec_cjudgdetl/>
- <sec_d2judgdetl/>
- <sec_d1judgdetl/>
- <sec_colgrecmfact/>
- <sec_glycosyn/>
- <sec_hypetsyn/>
- <sec_glycosdetl/>
- <sec_hypetsdetl/>
- <sec_glycosanamnesisyn/>
- <sec_hypetsanamnesisyn/>
- <sec_glycosanamnesisdetl/>
- <sec_hypetsanamnesisdetl/>
- <sec_awarfunthandcap/>
- <sec_melancholia1/>
- <sec_melancholia2/>
- <sec_smokyn/>
- <sec_smoknicotinedepend/>
- <sec_smokprcp/>
- <sec_drunkyn/>
- <sec_drunkvalu/>
- <sec_drunkprcp/>
- <sec_exeryn/>
- <sec_exervalu/>
- <sec_exerkind/>
- <sec_exertm/>
- <sec_exertims/>
- <sec_nutryn/>
- <sec_nutrvalu/>
- <sec_nutrprcprecm/>
- <sec_nutrprcptemperance/>
- <sec_nutrmealhabit/>
- <sec_nutrlnk/>
- <sec_fatyn/>
- <sec_fatsievqtyindx/>
- <sec_fatabdmn/>
- <sec_fatprcp/>
- <sec_scndjudgdd/>
- <sec_scndjudgdrid/>
- </secondjudg>
- <oraljudg>
- <oral_estmamt/>
- <oral_judgcd/>
- <oral_judgdrid/>
- <oral_judgdd/>
- </oraljudg>
- <specjudg/>
- <genrjudg/>
- <lifehabitprcp>
- <atdoct/>
- <smokflag/>
- <nicodepend/>
- <nosmokbookread/>
- <nicochangeregm/>
- <nosmokdrug/>
- <suppservice/>
- <suppserviceetc/>
- <smokbettersick/>
- <drunkstat/>
- <nodrunkday/>
- <daydrunkcnt/>
- <weekdrunkcnt/>
- <drunkrestday/>
- <drunkdiary/>
- <nodrunkbook/>
- <drunkdrug/>
- <drunketc/>
- <drunkbettersick/>
- <exergrade/>
- <exerkind/>
- <exerkindetc/>
- <exertime/>
- <exertimeetc/>
- <exercnt/>
- <exerbettersick/>
- <exerbettersicketc/>
- <exerreq/>
- <ntrhabit/>
- <ntrhabitbetterprcp/>
- <ntrbettersick/>
- <ntrbettersicketc/>
- <ntrreq/>
- <bodyweight/>
- <fatstat/>
- <sickoccurgrade/>
- <reduweightper/>
- <goalweight/>
- <goalmonth/>
- <reduweight/>
- <fatprcp/>
- <fatdrugcure/>
- <fatprcpetc/>
- <fatbettersick/>
- <fatbettersicketc/>
- <fatreq/>
- <nosmokuseyn/>
- <nodrunkuseyn/>
- <exeruseyn/>
- <nutritionuseyn/>
- <fatuseyn/>
- </lifehabitprcp>
- <etcjudg>
- <etc_judgdd/>
- <etc_judgdrid/>
- <etc_judgexamcnts/>
- </etcjudg>
- <totjudg>
- <totcmtcnts/>
- </totjudg>
- </judginfo>
- <inqrlst>
- <item>
- <inqrcd/>
- <inqrnm/>
- <answcd/>
- <answcnts/>
- <remcnts/>
- <answflag/>
- <inptflag/>
- <inqrflag/>
- </item>
- </inqrlst>
- </acptinfo>
- <tempinfo>
- <rslttext>
- <rsltcnts/>
- <rslt_idx/>
- <rslt_col/>
- </rslttext>
- <anslst>
- <anslst>
- <item>
- <answcd/>
- <answcnts/>
- <answcnts/>
- <reminptyn/>
- </item>
- </anslst>
- </anslst>
- <choilst>
- <item3>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </item3>
- <item4>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </item4>
- </choilst>
- <answcd/>
- <assorsltlst>
- <itemasso>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </itemasso>
- </assorsltlst>
- </tempinfo>
- </main>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <submission id="TXAHR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
- <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- <submission id="TXAHR02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHR02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/change" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var m_vHealexamflag = "G";
- function fViewNum(){
- window.parent.javascript.vidx = "1";
- }
-
- //ready
- function fInitDasplay(){
- nodenumber = 0;
- model.copyNode("/root", opener.root); //parent
- fSetGridInitState(grd_rsltlst); //배경색 변경
-
- btn_fstjudg.selected = true;
- model.toggle("case_first");
-
- //1차건진 B판정 상세
- if ( window.parent.javascript.fGetEtcInfo("F", "F21") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_bjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //1차건진C판정 상세
- if ( window.parent.javascript.fGetEtcInfo("F", "F22") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_cjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진R1판정 상세
- if ( window.parent.javascript.fGetEtcInfo("F", "F23") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_r1judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진R2판정 상세
- if ( window.parent.javascript.fGetEtcInfo("F", "F24") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(chk_r2judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- //1차건진 기타질환코드내역
- if ( window.parent.javascript.fGetEtcInfo("F", "F25") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_etcsickflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //1차건진 사후관리
- if ( window.parent.javascript.fGetEtcInfo("F", "F26") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_aftmngt.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- /*
- //2차판정 당뇨병
- if ( window.parent.javascript.fGetEtcInfo("F", "F27") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(rdo_glycosdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //2차판정 고혈압
- if ( window.parent.javascript.fGetEtcInfo("F", "F28") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(rdo_hypetsdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //2차판정 당뇨병-기왕력자
- if ( window.parent.javascript.fGetEtcInfo("F", "F29") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_glycosanamnesisdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //2차판정 고혈압-기왕력자
- if ( window.parent.javascript.fGetEtcInfo("F", "F30") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_hypetsanamnesisdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
- */
-
- //판정의설정
- if(model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid") == ""){
- model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid", getUserInfo("userid"));
- }
- var inqryn = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn");
- if(inqryn == ""){
- model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn", "Y");
- }
- grd_rsltlst.clearStatus();
- gridMergeRow(grd_rsltlst);
- model.refresh();
-
- //특정값에 따라 Disabled 여부 결정
- fDisabledChk();
- }
-
- /*
- * 배경색 변경
- */
- function fSetGridInitState(vGrdObj){
- if(vGrdObj == null ) return ;
-
- vGrdObj.rebuildStyle();
- vGrdObj.refresh();
- var cnt = vGrdObj.rows;
-
- for(var i=1; i<=cnt; i++){
- var testrslt = vGrdObj.valueMatrix(i, vGrdObj.colRef("testrsltcnts"));
- var low = vGrdObj.valueMatrix(i, vGrdObj.colRef("minval"));
- var high = vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval"));
- //기준치에 따른 색깔변경
- if("H" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts"))){
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("testcd") , i , vGrdObj.colRef("maxval")) = "#FF8888"; //빨 - H
- }
- if("L" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts"))){
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("testcd") , i , vGrdObj.colRef("maxval")) = "#85B3FF"; //파 - L
- }
-
- //결과값이 하한가와 상한가 범위를 벗어난 경우 색으로 구분(녹색:하한가보다 작은 경우, 분홍색:상한가보다 큰 경우)
- if(testrslt != ""){
- if(!isNaN(testrslt)){
- if(high != ""){
- if(eval(testrslt) > eval(high)){
- vGrdObj.cellStyle("background-color", i, 7) = "#FF8888"; //빨 - H
- }
- }
- if(low != ""){
- if(eval(testrslt) < eval(low)){
- vGrdObj.cellStyle("background-color", i, 7) = "#85B3FF"; //파 - L
- }
- }
- }
- }else{
- continue;
- }
- }
- vGrdObj.refresh();
- }
-
- //특정값에 따라 Disabled 여부 결정
- function fDisabledChk() {
- var fst_bjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl");
- var bol = isSearchString(fst_bjudgdetl ,"B09");
- if (bol == true) {
- cmb_etcsickflag.disabled = false;
- ipt_fst_etcsickcnts.disabled = false;
- } else {
- cmb_etcsickflag.disabled = true;
- ipt_fst_etcsickcnts.disabled = true;
- }
-
- var fst_cjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_cjudgdetl");
- var bol = isSearchString(fst_cjudgdetl ,"C04");
- if (bol == true) {
- ipt_fst_etcsickcnts1.disabled = false;
- } else {
- ipt_fst_etcsickcnts1.disabled = true;
- }
-
- var fst_r1judgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r1judgdetl");
- var bol = isSearchString(fst_r1judgdetl ,"D08");
- if (bol == true) {
- ipt_fst_etcsickcnts2.disabled = false;
- } else {
- ipt_fst_etcsickcnts2.disabled = true;
- }
- bool_nosmok.dispatch("xforms-value-changed");
- bool_nodrunk.dispatch("xforms-value-changed");
- bool_exer.dispatch("xforms-value-changed");
- bool_nutrition.dispatch("xforms-value-changed");
- bool_fat.dispatch("xforms-value-changed");
- }
-
-
-
-
-
-
-
-
-
- /* 접수 정보(AST.AHAMACPT) 상태 변경
- sStatFlag : 공통코드 #A0107참조 A 예약 B 예약보류 C 예약확인 D 예약취소 E 접수 G 결과 :
- sRsltYn : 결과완료여부
- */
- function fSetAcptState(sStatFlag, sRsltYn){
- var idx = opener.grd_acptlst.row;
- if(idx < 1){
- return false;
- }
- model.resetInstanceNode("/root/send/change");
- model.removenode("/root/send/change");
- model.refresh();
-
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
-
- model.makeValue("/root/send/change/changeinfo/healexamflag" , m_vHealexamflag);
- model.makeValue("/root/send/change/changeinfo/rsrvdd" , rsrvdd);
- model.makeValue("/root/send/change/changeinfo/rsrvno" , rsrvno);
- model.makeValue("/root/send/change/changeinfo/statflag" , sStatFlag);
- model.makeValue("/root/send/change/changeinfo/rsltyn" , sRsltYn);
-
- if(submit("TXAHR02502")){
- messageBox("결과상태 변경이 ", "I001");
- opener.javascript.fGetRsltPatList();
- // fInitDasplayResult();
- }else{
- messageBox("결과상태 변경이 ", "E009");
- }
- }
-
- function fInitSaveData(){
- model.resetInstanceNode("/root/send/save");
- }
-
- function fInitDasplayResult(){
- model.copyNode("/root", opener.root); //parent
- model.refresh();
- }
-
- /**
- * 소견 및 조치내용 가져오기
- * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
- * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
- * SPAHR00300_PARAM1: 다중선택여부(Y/N)
- * SPAHR00300_PARAM2: 목적노드Set
- * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
- * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
- * SPAHR00300_PARAM5: 종합판정문구검색코드
- * SPAHR00300_PARAM6: 종합판정문구검색내용
- * SPAHR00300_PARAM7: 건진구분
- */
- function fGetJudgExmpCnts(vEditObj,jCode){
- if( vEditObj == null ) return ;
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM1", "Y");
- setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00300_PARAM8", jCode );
-
- modal("SPAHR00300", 100, 100, "SPAHR00300");
-
- if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
- var vJudgLongCnts = model.getValue(tar_totjudgexamcnts.attribute("ref"));
- for( var i = 0 ; i < vNodeList.length ; i++){
- vJudgCnts += vNodeList.item(i).judghangshrtcnts.text;
- if(vEditObj.attribute("id") == "tar_judgexamcnts"){
- vJudgLongCnts += vNodeList.item(i).judghangcnts.text;
- }
- }
-
- model.setValue( vEditObj.attribute("ref") , vJudgCnts );
- if(vEditObj.attribute("id") == "tar_judgexamcnts"){
- model.setValue(tar_totjudgexamcnts.attribute("ref"), vJudgLongCnts);
- }
- vEditObj.refresh();
- if(vEditObj.attribute("id") == "tar_judgexamcnts"){
- tar_totjudgexamcnts.refresh();
- }
- }
-
- function fCheckExamInfo(){
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
- model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
-
- if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
- messageBox("유효하지 않은 데이터 입니다!", "E999");
- return false;
- }
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag());
- model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchrsrvdd" , rsrvdd);
- model.setValue("/root/send/srchrsrvno" , rsrvno);
- model.setValue("/root/send/srchpid" , pid);
- model.setValue("/root/send/srchorddd" , orddd);
- model.setValue("/root/send/srchcretno" , cretno);
- // model.setValue("/root/send/srchpkgcd" , pkgcd);
- }
-
- /**
- *건진내역별 상세내역가져오기( 판정내역조회)
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- */
- function fGetJudgInfo(){
- if(fCheckExamInfo() == false) return;
- openLoadingBar("판정정보 ");
- model.makeValue("root/send/srchhealexamflag", "G");
- submit("TRAHR01004");
-
- //특정값에 따라 Disabled 여부 결정
- fDisabledChk();
-
- closeLoadingBar();
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 check
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *저장구분 : I=> 문진만, R=>결과만, J1 => 1차판정만 ...
- =====================================================================================*/
- function fCheckSaveInfo(){
- var idx = opener.grd_acptlst.row;
- if( idx < 1 ) {
- return false;
- }
-
- if( m_vHealexamflag == "" ) {
- messageBox("업무구분이 존재하지 않습니다.", "E999");
- return false;
- }
- var vAcptNode = opener.grd_acptlst.nodeset + "[" + idx;
-
- model.removenode("/root/send/save");
- model.refresh();
-
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
-
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
- model.makeValue("/root/send/save/saveinfo/healexamflag" , m_vHealexamflag );
- model.makeValue("/root/send/save/saveinfo/healexamdetlflag" , fGetHealExamFlag() );
- model.makeValue("/root/send/save/saveinfo/rsrvdd" , rsrvdd );
- model.makeValue("/root/send/save/saveinfo/rsrvno" , rsrvno );
- model.makeValue("/root/send/save/saveinfo/pid" , pid );
- model.makeValue("/root/send/save/saveinfo/orddd" , orddd );
- model.makeValue("/root/send/save/saveinfo/cretno" , cretno );
- model.makeValue("/root/send/save/saveinfo/pkgcd" , pkgcd );
- model.makeValue("/root/send/save/saveinfo/sex" , model.getValue("/root/main/acptinfo/item/sex"));
- model.makeValue("/root/send/save/saveinfo/age" , model.getValue("root/main/acptinfo/item/age"));
- model.makeValue("/root/send/save/saveinfo/judgdrid" , model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid"));
- model.makeValue("/root/send/save/saveinfo/inqrdrid" , model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqrdrid"));
- // model.setValue("/root/send/save/judgdd" , model.getValue(ipt_judgdd.attribute("ref"));
- return true ;
- }
- /*===================================================================================
- ** 판정입력구분
- *1 - 1차 + 구강
- *2 - 2차
- *S - 특수건진
- *B - 혈액정밀
- *C - 암건진
- ===================================================================================*/
- function fGetJudgInptFlag() {
- var judg_idx = swt_judg.selectedIndex ;
- var ret = "1" ;
- switch ( judg_idx ) {
- case 0:
- ret = "1" ;
- break;
- case 1:
- ret = "2" ;
- break;
- case 2:
- ret = "1" ;
- break;
- case 3:
- ret = "S" ;
- break;
- case 4:
- ret = "B" ;
- break;
- case 5:
- ret = "C" ;
- break;
- default:
- ret = "1" ;
- break;
- }
- return ret;
- }
-
- /**===================================================================================
- @desc : 판정입력
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *판정내역 :
- @param :bCheckSave => true이면 저장기본정보 check.
- 전체저장시는 저장기본정보를 check할 필요가 없으므로...pass하도록...하기위해.
- =====================================================================================*/
- function fSaveJudg(bCheckSave){
- var ret = false;
-
- if(bCheckSave == true){
- if( !fCheckSaveInfo()) return ret;
- }
- //판정입력구분(1-1차 + 구강 /2- 2차 /L- 생활습관처방전(생애2차)/O- 구강만 /S- 특수건진 /B- 혈액정밀 / C- 암건진 )
- model.makeNode("/root/send/save/judginptflag");
-
- //??? 의미를 모르겠음...
- //var judgflag = fGetJudgInptFlag();
-
- var judgflag = "";
- var signedData = "";
-
- if(case_first.selected == true){
- judgflag = "1";
- }else if (case_second.selected == true){
- judgflag = "2";
- }else if (case_lifejudg.selected == true){
- judgflag = "L2";
- }else if(case_lifehabit.selected == true){
- judgflag = "L";
- }else if(case_etc.selected == true){
- judgflag = "E";
- }else if(case_tot.selected == true){
- judgflag = "T";
- }
- model.setValue("/root/send/save/judginptflag" ,judgflag );
-
- //1차 + 구강
- if( judgflag == "1" ){
- var judgcd_A = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_ajudgcd");
- var judgcd_B = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_bjudgcd");
- var judgcd_C = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_cjudgcd");
- var judgcd_R1 = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r1judgcd");
- var judgcd_R2 = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r2judgcd");
-
- var fst_barojochicnts = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_barojochicnts");
- if(fst_barojochicnts.length>250){
- messageBox("바로조치는 250자까지 입력가능합니다", "E");
- model.setFocus("txt_barojochicnts");
- return ret;
- }
-
- var fst_judgexamcnts = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts");
- if(fst_judgexamcnts.length>300){
- messageBox("적극적 관리는 300자까지 입력가능합니다", "E");
- model.setFocus("tar_judgexamcnts");
- return ret;
- }
-
- if(judgcd_A == "N" && judgcd_B == "N" && judgcd_C == "N" && judgcd_R1 == "N" && judgcd_R2 == "N"){
- messageBox("판정을 ", "C001");
- return ret;
- }
-
- if (model.getValue(cmb_fstjudgdrid.attribute("ref") ) == "" ) {
- messageBox("판정의를 ", "C001");
- return ret;
- }
-
- if (model.getValue(cmb_fstinqrdrid.attribute("ref") ) == "" ) {
- messageBox("문진의를 ", "C001");
- return ret;
- }
- // 판정이 다중으로 선택하게 변경하면서 정상일경우 A 아닐경우에는 B을 저장하게 변경
- // 다중 선택된 판정은 Detail 테이블에 저장 된다.
- if(fGetActiveStat(bol_judgcda.value)) {
- model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd" , "A");
- }else {
- model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd" , "B");
- }
-
- model.makeNode("/root/send/save/savejudg1");
- model.resetInstanceNode("/root/send/save/savejudg1");
- model.copyNode("/root/send/save/savejudg1", "/root/main/acptinfo/judginfo/firstjudg");
-
- model.makeNode("/root/send/save/savejudgoral");
- model.resetInstanceNode("/root/send/save/savejudgoral");
- model.copyNode("/root/send/save/savejudgoral", "/root/main/acptinfo/judginfo/oraljudg");
-
- // 직업병 D1 질환코드
- model.makeNode("/root/send/save/savejudg2/fst_saved1sickcd");
- model.resetInstanceNode("/root/send/savejudg2/fst_saved1sickcd");
- model.setValue("/root/send/save/savejudg2/fst_saved1sickcd" , grd_d1sicklst.getUpdateDataAll("i"));
-
- // 직업병 D2 질환코드
- model.makeNode("/root/send/save/savejudg2/fst_saved2sickcd");
- model.resetInstanceNode("/root/send/savejudg2/fst_saved2sickcd");
- model.setValue("/root/send/save/savejudg2/fst_saved2sickcd" , grd_d2sicklst.getUpdateDataAll("i"));
-
-
- var fst_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/firstjudg"));
- var oral_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/oraljudg"));
- var fst_sick = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/firstd1sicklst"));
- var scnd_sick = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/firstd2sicklst"));
-
- // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
- /************************************************************************************************************
- 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
- *************************************************************************************************************/
- //signedData = zesfSignData( fst_judg + "^" + oral_judg + "^" + fst_sick + "^" + scnd_sick , getUserId(), true );
-
-
- // 2차 /생활판정
- }else if( judgflag == "2" || judgflag == "L2"){
- if(judgflag == "2"){
- if( model.getValue( cmb_scndjudgdrid.attribute("ref") ) == ""){
- messageBox("판정의를 ", "C001");
- return ret;
- }
- }
- model.makeNode("/root/send/save/savejudg2");
- model.resetInstanceNode("/root/send/save/savejudg2");
- model.copyNode("/root/send/save/savejudg2", "/root/main/acptinfo/judginfo/secondjudg");
-
-
- var scnd_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/secondjudg"));
- if(judgflag == "2"){
- // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
- /************************************************************************************************************
- 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
- *************************************************************************************************************/
- //signedData = zesfSignData( scnd_judg , getUserId(), true );
- }
-
- } else if( judgflag == "L") {
- model.makeNode("/root/send/save/savelifehabit");
- model.resetInstanceNode("/root/send/save/savelifehabit");
- model.copyNode("/root/send/save/savelifehabit", "/root/main/acptinfo/judginfo/lifehabitprcp");
-
- var judgCd = model.getValue("/root/main/acptinfo/judginfo/secondjudg/sec_judgcd");
- if(judgCd != ""){
- model.makeValue("/root/send/save/savelifehabit/judgcd" , judgCd);
- }else{
- model.makeValue("/root/send/save/savelifehabit/judgcd" , "A");
- }
-
- var lifeHabit = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/lifehabitprcp"));
-
- }else if(judgflag == "E") {
- var nodeList = instance1.selectNodes("/root/init/judginfo/etcjudgpkglst/G103[cdid='" + model.getValue("/root/main/acptinfo/item/pkgcd") + "']");
- if( !(nodeList.length > 0) ) {
- messageBox("기타판정 등록패키지인지 ", "I007");
- return ;
- }
-
- if( model.getValue("/root/main/acptinfo/judginfo/etcjudg/etc_judgdrid") == "" ) {
- messageBox("판정의를 ", "C001");
- return ;
- }
-
- model.makeNode("/root/send/save/saveetcjudg");
- model.resetInstanceNode("/root/send/save/saveetcjudg");
- model.copyNode("/root/send/save/saveetcjudg", "/root/main/acptinfo/judginfo/etcjudg");
-
- model.makeValue("/root/send/save/saveetcjudg/etc_judgcd" , "A");
- var etcJudg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/etcjudg"));
-
- // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
- /************************************************************************************************************
- 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
- *************************************************************************************************************/
- //signedData = zesfSignData( etcJudg , getUserId(), true );
- }else if(judgflag == "T"){
- model.makeNode("/root/send/save/savetotjudg");
- model.resetInstanceNode("/root/send/save/savetotjudg");
- model.copyNode("/root/send/save/savetotjudg", "/root/main/acptinfo/judginfo/totjudg");
- model.makeValue("/root/send/save/savetotjudg/tot_judgcd" , "A");
-
- var totJudg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/totjudg"));
- //signedData = zesfSignData( totJudg , getUserId(), true );
- }
-
- //if((signedData == null || signedData == "") && (judgflag == "1" || judgflag == "2" || judgflag == "E")) return;
-
- openLoadingBar("판정 저장 중입니다 ");
- // ret = submit("TXAHR01002");
- ret = submit("TXAHR02501");
- closeLoadingBar();
-
- if(ret == true){
- messageBox("판정저장", "I002");
- fGetJudgInfo(); //정상적 저장 시 판정내역 재 조회
- // opener.javascript.fGetRsltPatList();
- }else{
- messageBox("판정저장", "E009");
- }
- return ret;
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 초기화
- =====================================================================================*/
- function fInitSaveData(){
- model.resetInstanceNode("/root/send/save");
- }
-
- function fdataValue(vTestcd,vSubcd){
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
- for (var i=0; i<=nodeCount;i++){
- // if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
- }
- }
- }
-
- function fdataValueAsso(vTestcd,vSubcd){
- /*
- var nodeCount = getNodesetCount("/root/main/tempinfo/assorsltlst/itemasso");
- for (var i=0; i<nodeCount;i++){
-
- if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i+"]/rsltnm");
- }
- }
- */
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
- for (var i=0; i<nodeCount;i++){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
- }
- }
- }
-
- /**
- ** 결과입력 grid size 늘이기/줄이기
- */
- function fSetRsltSwtSize( bLarge ){
- //기존상태 높이
- var cur_height = 214;
- var max_height = 558 ;
-
- if( bLarge == true ){
- cur_height = max_height ;
- btn_large.visible = false;
- btn_small.visible = true;
- }
- else {
- btn_large.visible = true;
- btn_small.visible = false;
- }
-
- grd_rsltlst.attribute("height") = parseInt( cur_height ) ;
- }
-
- function fGetActiveStat(vFlag){
- var activeStat = false;
- if(vFlag == "" || vFlag == null) vFlag = "Y";
-
- if(vFlag == "Y"){
- activeStat = true;
- }else if(vFlag == "N"){
- activeStat = false;
- }
- return activeStat;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_rslt2" visibility="hidden" style="left:470px; top:55px; width:295px; height:245px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <datagrid id="datagrid1" nodeset="/root/main/tempinfo/choilst/item4" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 35, 200" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox" visibility="hidden"/>
- <col ref="rsltcd" visibility="visible"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="button1" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fAddRsltChoi();
- grp_rslt2.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_textrslt" visibility="hidden" style="left:460px; top:50px; width:295px; height:300px; ">
- <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
- <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
- <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt ) {
- model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // grp_textrslt.visible = false;
- ]]>
- </script>
- <output id="opt_rsltidx" ref="/root/main/tempinfo/rslttext/rslt_idx" class="output_fix" visibility="hidden" style="left:130px; top:5px; width:36px; height:19px; "/>
- <output id="opt_rsltcol" ref="/root/main/tempinfo/rslttext/rslt_col" class="output_fix" visibility="hidden" style="left:175px; top:5px; width:36px; height:19px; "/>
- <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javascript.col_rslt ) {
- var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
- if( idx < 0) return ;
- model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
- if( grd_rsltlst.rowStatus(idx) == 0 ) {
- grd_rsltlst.rowStatus(idx) = 2;
- }
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_choi" visibility="hidden" style="left:25px; top:80px; width:295px; height:245px; ">
- <caption id="caption55" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <datagrid id="grd_choilst" nodeset="/root/main/tempinfo/choilst/item3" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 14, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="rsltcd" visibility="visible"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line35" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="btn_choiclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fAddRsltChoi();
- grp_choi.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <switch id="swt_judg" style="left:5px; top:240px; width:764px; height:323px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_first" scroll="none" selected="true">
- <caption id="caption19" class="cell_1" visibility="hidden" style="left:383px; top:348px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
- <caption id="caption9" class="cell_1" visibility="hidden" style="left:5px; top:397px; width:125px; height:23px; text-align:center; vertical-align:middle; ">사후조치(C,D1, D2)</caption>
- <caption id="caption18" class="cell_1" visibility="hidden" style="left:413px; top:348px; width:100px; height:23px; text-align:left; vertical-align:middle; ">일반질병 D2</caption>
- <textarea id="txt_barojochicnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_barojochicnts" visibility="hidden" imemode="hangul" maxlength="250" appearance="textarea" style="left:118px; top:425px; width:267px; height:55px; "/>
- <line id="line81" class="line_2" visibility="hidden" style="x1:5px; y1:395px; x2:755px; y2:395px; "/>
- <caption id="caption8" class="cell_1" visibility="hidden" style="left:30px; top:348px; width:100px; height:23px; text-align:left; vertical-align:middle; ">직업병 D1</caption>
- <datagrid id="grd_d1sicklst" nodeset="/root/main/acptinfo/judginfo/firstd1sicklst" visibility="hidden" caption="judgcd^질환코드^질환명" colsep="^" colwidth="55, 57, 162" mergecellsfixedrows="bycolrec" rowsep="|" style="left:132px; top:349px; width:240px; height:46px; ">
- <col ref="judgdetlcd" visibility="hidden"/>
- <col ref="sickcd" type="output"/>
- <col ref="sicknm"/>
- </datagrid>
- <line id="line80" class="line_2" visibility="hidden" style="x1:5px; y1:421px; x2:755px; y2:421px; "/>
- <caption id="caption16" class="cell_1" visibility="hidden" style="left:5px; top:348px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
- <caption id="caption26" class="cell_1" visibility="hidden" style="left:5px; top:425px; width:113px; height:57px; text-align:left; vertical-align:middle; ">
- <![CDATA[ 바로조치
- (의심질환)]]>
- </caption>
- <select1 id="cmb_aftmngt" ref="/root/main/acptinfo/judginfo/firstjudg/fst_aftmngt" class="combo" visibility="hidden" appearance="minimal" style="left:132px; top:400px; width:240px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/aftmngtcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button8" class="btn2_letter2" visibility="hidden" style="left:70px; top:444px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fGetRsltExmpCnts();
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM1", "Y");
- setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
-
- modal("SPAHR00410", 100, 100, "SPAHR00410");
-
- if( model.getValue("/root/temp/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( txt_barojochicnts.attribute("ref") );
-
- for( var i = 0 ; i < vNodeList.length ; i++){
- if(vJudgCnts == ""){
- vJudgCnts = vNodeList.item(i).judghangcnts.text;
- }else{
- vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
- }
-
- }
- model.makeValue( txt_barojochicnts.attribute("ref") , vJudgCnts );
- txt_barojochicnts.refresh();
- ]]>
- </script>
- <!--script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
- ]]>
- </script-->
- </button>
- <caption id="caption10" class="cell_1" visibility="hidden" style="left:385px; top:425px; width:85px; height:57px; text-align:center; vertical-align:middle; ">적극적관리</caption>
- <textarea id="tar_judgexamcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts" class="input_search" visibility="hidden" imemode="hangul" maxlength="300" appearance="textarea" style="left:470px; top:425px; width:288px; height:55px; "/>
- <line id="line11" class="line_2" visibility="hidden" style="x1:5px; y1:345px; x2:755px; y2:345px; "/>
- <button id="btn_sickd1" class="btn2_letter4" visibility="hidden" style="left:37px; top:371px; width:64px; height:19px; ">
- <caption>질환코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafGetSickCd("SMAHR02500", "", "", 1 , grd_d1sicklst.nodeset, "D1" );
- grd_d1sicklst.rebuild();
- if( model.getValue( "/root/temp/okflag") == "Y" ){
- for( var i = 1; i < grd_d1sicklst.rows; i++){
- grd_d1sicklst.addStatus(i, "insert");
- grd_d1sicklst.valueMatrix( i, grd_d1sicklst.colRef("judgdetlcd")) = "D1";
- }
- }
- grd_d1sicklst.rebuild();
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption63" class="cell_1" visibility="hidden" style="left:383px; top:371px; width:130px; height:23px; text-align:left; vertical-align:middle; "/>
- <caption id="caption62" class="cell_1" visibility="hidden" style="left:5px; top:371px; width:125px; height:23px; text-align:left; vertical-align:middle; "/>
- <button id="button3" class="btn2_letter4" visibility="hidden" style="left:418px; top:371px; width:64px; height:19px; ">
- <caption>질환코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafGetSickCd("SMAHR02500", "", "", 1 , grd_d2sicklst.nodeset , "D2");
- grd_d2sicklst.rebuild();
- if( model.getValue( "/root/temp/okflag") == "Y" ){
- for( var i = 1; i < grd_d2sicklst.rows; i++){
- grd_d2sicklst.addStatus(i, "insert");
- grd_d2sicklst.valueMatrix( i, grd_d2sicklst.colRef("judgdetlcd")) = "D2";
- }
- }
- grd_d2sicklst.rebuild();
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_d2sicklst" nodeset="/root/main/acptinfo/judginfo/firstd2sicklst" visibility="hidden" caption="judgcd^질환코드^질환명" colsep="^" colwidth="55, 57, 162" mergecellsfixedrows="bycolrec" rowsep="|" style="left:515px; top:349px; width:240px; height:46px; ">
- <col ref="judgdetlcd" visibility="hidden"/>
- <col ref="sickcd" type="output"/>
- <col ref="sicknm"/>
- </datagrid>
- <bool id="bol_d2sickyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_d2sickyn" style="left:393px; top:351px; width:15px; height:15px; border-style:none; "/>
- <button id="btn_firstjudg" class="btn2_letter2" visibility="hidden" style="left:408px; top:460px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fGetRsltExmpCnts();
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM1", "Y");
- setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
-
- modal("SPAHR00410", 100, 100, "SPAHR00410");
-
- if( model.getValue("/root/temp/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( tar_judgexamcnts.attribute("ref") );
-
- for( var i = 0 ; i < vNodeList.length ; i++){
- if(vJudgCnts == ""){
- vJudgCnts = vNodeList.item(i).judghangcnts.text;
- }else{
- vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
- }
-
- }
- model.setValue( tar_judgexamcnts.attribute("ref") , vJudgCnts );
- tar_judgexamcnts.refresh();
- ]]>
- </script>
- <!--script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
- ]]>
- </script-->
- </button>
- <bool id="bol_d1sickyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_d1sickyn" style="left:12px; top:351px; width:15px; height:15px; border-style:none; "/>
- <line id="line7" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
- <caption id="caption24" class="cell_1" style="left:132px; top:7px; width:60px; height:23px; text-align:center; vertical-align:middle; ">문진유무</caption>
- <line id="line5" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
- <select1 id="rdo_cmpyflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_inqryn" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:193px; top:10px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_judgdd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdd" class="input_essential" disabled="false" inputtype="date" style="left:332px; top:9px; width:90px; height:19px; "/>
- <select1 id="cmb_fstjudgdrid" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid" class="combo" appearance="minimal" style="left:487px; top:9px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="cell_1" style="left:425px; top:7px; width:60px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
- <caption id="caption17" class="cell_1" style="left:270px; top:7px; width:60px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
- <caption id="caption3" class="cell_1" style="left:30px; top:7px; width:100px; height:23px; text-align:left; vertical-align:middle; ">정상 A</caption>
- <caption id="caption4" class="cell_1" style="left:30px; top:32px; width:100px; height:48px; text-align:left; vertical-align:middle; ">정상 B</caption>
- <line id="line9" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
- <select id="chk_bjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl" overflow="visible" appearance="full" cellspacing="5" cols="6" vcellspacing="5" style="left:132px; top:35px; width:611px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/Bjudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var checkList = chk_bjudgdetl.value;
- if(checkList.length > 1){
- model.setValue(bol_judgcdb.attribute("ref"), "Y");
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.setValue(bol_judgcdb.attribute("ref"), "N");
- }
- model.refresh();
-
- var fst_bjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl");
- var bol = isSearchString(fst_bjudgdetl, "B09");
- if(bol == true){
- cmb_etcsickflag.disabled = false;
- ipt_fst_etcsickcnts.disabled = false;
- }else{
- cmb_etcsickflag.disabled = true;
- ipt_fst_etcsickcnts.disabled = true;
- }
- ]]>
- </script>
- </select>
- <input id="ipt_fst_etcsickcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts" class="input_search" maxlength="20" style="left:565px; top:58px; width:190px; height:19px; "/>
- <select1 id="cmb_etcsickflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickflag" class="combo_default" appearance="minimal" style="left:447px; top:58px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/etcsickflaglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line10" class="line_2" style="x1:5px; y1:131px; x2:755px; y2:131px; "/>
- <caption id="caption5" class="cell_1" style="left:30px; top:157px; width:100px; height:23px; text-align:left; vertical-align:middle; ">유질환자 D</caption>
- <select id="chk_cjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_cjudgdetl" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:132px; top:161px; width:281px; height:15px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/Cjudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var checkList = chk_cjudgdetl.value;
- if(checkList.length > 1){
- model.setValue(bol_judgcdc.attribute("ref"), "Y");
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.setValue(bol_judgcdc.attribute("ref"), "N");
- }
- model.refresh();
-
- var fst_cjudgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_cjudgdetl");
- var bol = isSearchString(fst_cjudgdetl ,"C04");
- if (bol == true) {
- ipt_fst_etcsickcnts1.disabled = false;
- } else {
- ipt_fst_etcsickcnts1.disabled = true;
- }
- ]]>
- </script>
- </select>
- <input id="ipt_fst_etcsickcnts1" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts1" class="input_search" maxlength="20" style="left:425px; top:160px; width:330px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:30px; top:82px; width:100px; height:48px; text-align:left; vertical-align:middle; ">일반질환의심 R1</caption>
- <select id="chk_r1judgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r1judgdetl" overflow="visible" appearance="full" cellspacing="10" cols="6" vcellspacing="5" style="left:132px; top:85px; width:610px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/R1judglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var checkList = chk_r1judgdetl.value;
- if(checkList.length > 1){
- model.setValue(bol_judgcdr1.attribute("ref"), "Y");
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.setValue(bol_judgcdr1.attribute("ref"), "N");
- }
- model.refresh();
-
- var fst_r1judgdetl = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_r1judgdetl");
- var bol = isSearchString(fst_r1judgdetl ,"D08");
- if(bol == true){
- ipt_fst_etcsickcnts2.disabled = false;
- }else{
- ipt_fst_etcsickcnts2.disabled = true;
- }
- ]]>
- </script>
- </select>
- <input id="ipt_fst_etcsickcnts2" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts2" class="input_search" maxlength="20" style="left:425px; top:107px; width:330px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:30px; top:133px; width:210px; height:23px; text-align:left; vertical-align:middle; ">고혈압 당뇨병 질환의심 R2 2차대상</caption>
- <line id="line12" class="line_2" style="x1:5px; y1:131px; x2:755px; y2:131px; "/>
- <select id="chk_r2judgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r2judgdetl" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:245px; top:135px; width:505px; height:15px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/R2judglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var checkList = chk_r2judgdetl.value; // E01:고혈압질환의심, E02: 당뇨병질환의심, E03: 생애
- // 2015/09/22 2차대상 체크 넣을시 생애는 제외되도록 수정
- if(checkList.search("E03")<0){
- if(checkList.length > 1){
- model.setValue(bol_judgcdr2.attribute("ref"), "Y");
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.setValue(bol_judgcdr2.attribute("ref"), "N");
- }
- model.refresh();
- }else if(checkList.search("E03")>=0 && (checkList.search("E01")>=0 || checkList.search("E02")>=0)){
- if(checkList.length > 1){
- model.setValue(bol_judgcdr2.attribute("ref"), "Y");
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.setValue(bol_judgcdr2.attribute("ref"), "N");
- }
- model.refresh();
- }else{
- model.setValue(bol_judgcdr2.attribute("ref"), "N");
- model.refresh();
- }
-
- /*
- if(checkList.length > 1){
- model.setValue(bol_judgcdr2.attribute("ref"), "Y");
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.setValue(bol_judgcdr2.attribute("ref"), "N");
- }
- model.refresh();
- */
- ]]>
- </script>
- </select>
- <caption id="caption11" class="cell_1" style="left:5px; top:82px; width:30px; height:48px; text-align:left; vertical-align:middle; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:7px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
- <caption id="caption13" class="cell_1" style="left:5px; top:32px; width:30px; height:48px; text-align:left; vertical-align:middle; "/>
- <caption id="caption14" class="cell_1" style="left:5px; top:157px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
- <caption id="caption15" class="cell_1" style="left:5px; top:133px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
- <bool id="bol_judgcda" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_ajudgcd" style="left:10px; top:9px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vStat = fGetActiveStat(bol_judgcda.value);
- if(vStat){
- model.setValue(bol_judgcdb.attribute("ref") , "N");
- model.setValue(bol_judgcdc.attribute("ref") , "N");
- model.setValue(bol_judgcdr1.attribute("ref") , "N");
- model.setValue(bol_judgcdr2.attribute("ref") , "N");
- model.refresh();
-
- bol_judgcdb.dispatch("xforms-value-changed");
- bol_judgcdr1.dispatch("xforms-value-changed");
- bol_judgcdr2.dispatch("xforms-value-changed");
- bol_judgcdc.dispatch("xforms-value-changed");
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bol_judgcdb" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgcd" style="left:10px; top:44px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vStat = fGetActiveStat(bol_judgcdb.value);
- if(vStat){
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.resetInstanceNode(chk_bjudgdetl.attribute("ref"));
- model.resetInstanceNode(cmb_etcsickflag.attribute("ref"));
- model.resetInstanceNode(ipt_fst_etcsickcnts.attribute("ref"));
- chk_bjudgdetl.dispatch("xforms-value-changed");
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bol_judgcdr1" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r1judgcd" style="left:10px; top:95px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vStat = fGetActiveStat(bol_judgcdr1.value);
- if(vStat){
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else {
- model.resetInstanceNode(chk_r1judgdetl.attribute("ref"));
- model.resetInstanceNode(ipt_fst_etcsickcnts2.attribute("ref"));
- chk_r1judgdetl.dispatch("xforms-value-changed");
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bol_judgcdr2" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r2judgcd" style="left:10px; top:135px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vStat = fGetActiveStat(bol_judgcdr2.value);
- if(vStat){
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.resetInstanceNode(chk_r2judgdetl.attribute("ref"));
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bol_judgcdc" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_cjudgcd" style="left:10px; top:157px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vStat = fGetActiveStat(bol_judgcdc.value);
- if(vStat){
- model.setValue(bol_judgcda.attribute("ref"), "N");
- }else{
- model.resetInstanceNode(chk_cjudgdetl.attribute("ref"));
- model.resetInstanceNode(ipt_fst_etcsickcnts1.attribute("ref"));
- chk_cjudgdetl.dispatch("xforms-value-changed");
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <line id="line82" class="line_2" style="x1:5px; y1:80px; x2:755px; y2:80px; "/>
- <caption id="caption112" class="cell_1" style="left:5px; top:181px; width:125px; height:50px; text-align:left; vertical-align:middle; ">의심질환소견</caption>
- <textarea id="txt_item01" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item01" style="left:130px; top:181px; width:250px; height:50px; "/>
- <caption id="caption113" class="cell_1" style="left:380px; top:181px; width:125px; height:50px; text-align:left; vertical-align:middle; ">유질환소견</caption>
- <textarea id="txt_item02" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item02" style="left:505px; top:181px; width:250px; height:50px; "/>
- <caption id="caption114" class="cell_1" style="left:380px; top:232px; width:125px; height:50px; text-align:left; vertical-align:middle; ">기타소견</caption>
- <textarea id="txt_item03" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item03" style="left:130px; top:232px; width:250px; height:50px; "/>
- <textarea id="txt_item04" ref="/root/main/acptinfo/judginfo/firstjudg/fst_item04" style="left:505px; top:232px; width:250px; height:50px; "/>
- <caption id="caption115" class="cell_1" style="left:5px; top:232px; width:125px; height:50px; text-align:left; vertical-align:middle; ">
- <![CDATA[생활습관
- 관리소견]]>
- </caption>
- <button id="button9" class="btn2_letter2" visibility="visible" style="left:85px; top:195px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fGetRsltExmpCnts();
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM1", "Y");
- setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
-
- modal("SPAHR00410", 100, 100, "SPAHR00410");
-
- if( model.getValue("/root/temp/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( txt_item01.attribute("ref") );
-
- for( var i = 0 ; i < vNodeList.length ; i++){
- if(vJudgCnts == ""){
- vJudgCnts = vNodeList.item(i).judghangcnts.text;
- }else{
- vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
- }
-
- }
- model.makeValue( txt_item01.attribute("ref") , vJudgCnts );
- txt_item01.refresh();
- ]]>
- </script>
- <!--script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
- ]]>
- </script-->
- </button>
- <button id="button10" class="btn2_letter2" visibility="visible" style="left:450px; top:195px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fGetRsltExmpCnts();
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM1", "Y");
- setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
-
- modal("SPAHR00410", 100, 100, "SPAHR00410");
-
- if( model.getValue("/root/temp/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( txt_item02.attribute("ref") );
-
- for( var i = 0 ; i < vNodeList.length ; i++){
- if(vJudgCnts == ""){
- vJudgCnts = vNodeList.item(i).judghangcnts.text;
- }else{
- vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
- }
-
- }
- model.makeValue( txt_item02.attribute("ref") , vJudgCnts );
- txt_item02.refresh();
- ]]>
- </script>
- <!--script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
- ]]>
- </script-->
- </button>
- <button id="button11" class="btn2_letter2" visibility="visible" style="left:450px; top:245px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fGetRsltExmpCnts();
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM1", "Y");
- setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
-
- modal("SPAHR00410", 100, 100, "SPAHR00410");
-
- if( model.getValue("/root/temp/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( txt_item04.attribute("ref") );
-
- for( var i = 0 ; i < vNodeList.length ; i++){
- if(vJudgCnts == ""){
- vJudgCnts = vNodeList.item(i).judghangcnts.text;
- }else{
- vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
- }
-
- }
- model.makeValue( txt_item04.attribute("ref") , vJudgCnts );
- txt_item04.refresh();
- ]]>
- </script>
- <!--script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
- ]]>
- </script-->
- </button>
- <button id="button12" class="btn2_letter2" visibility="visible" style="left:85px; top:245px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fGetRsltExmpCnts();
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM1", "Y");
- setParameter("SPAHR00410_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00410_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00400_PARAM8", "G01"); // 일반건진
-
- modal("SPAHR00410", 100, 100, "SPAHR00410");
-
- if( model.getValue("/root/temp/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( txt_item03.attribute("ref") );
-
- for( var i = 0 ; i < vNodeList.length ; i++){
- if(vJudgCnts == ""){
- vJudgCnts = vNodeList.item(i).judghangcnts.text;
- }else{
- vJudgCnts = vJudgCnts + "\n" + vNodeList.item(i).judghangcnts.text;
- }
-
- }
- model.makeValue( txt_item03.attribute("ref") , vJudgCnts );
- txt_item03.refresh();
- ]]>
- </script>
- <!--script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_judgexamcnts,"G0111");
- ]]>
- </script-->
- </button>
- <caption id="caption116" class="cell_1" style="left:580px; top:8px; width:60px; height:23px; text-align:center; vertical-align:middle; ">문진의</caption>
- <select1 id="cmb_fstinqrdrid" ref="/root/main/acptinfo/judginfo/firstjudg/fst_inqrdrid" class="combo" appearance="minimal" style="left:642px; top:9px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- </case>
- <case id="case_second">
- <caption id="caption30" class="cell_1" style="left:5px; top:31px; width:120px; height:23px; text-align:center; vertical-align:middle; ">구분</caption>
- <line id="line26" class="line_1" style="x1:5px; y1:0px; x2:757px; y2:0px; "/>
- <caption id="caption2" class="cell_1" style="left:127px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">당뇨병</caption>
- <caption id="caption20" class="cell_1" style="left:443px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">고혈압</caption>
- <caption id="caption23" class="cell_1" style="left:5px; top:57px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정</caption>
- <caption id="caption27" class="cell_1" style="left:5px; top:109px; width:120px; height:40px; text-align:center; vertical-align:middle; ">
- <![CDATA[1차 건강진단
- 결과요약(생애)]]>
- </caption>
- <caption id="caption28" class="cell_1" style="left:5px; top:152px; width:120px; height:40px; text-align:center; vertical-align:middle; ">종합권고사항</caption>
- <select1 id="rdo_glycosdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosdetl" appearance="full" cols="3" overflow="visible" style="left:127px; top:59px; width:311px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/glycoscdlist/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_hypetsdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsdetl" appearance="full" cols="3" overflow="visible" style="left:443px; top:59px; width:311px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/hypetscdlist/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:5px; top:83px; width:120px; height:23px; text-align:center; vertical-align:middle; ">치료계획</caption>
- <select1 id="cmb_glycosanamnesisdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosanamnesisdetl" appearance="minimal" style="left:127px; top:85px; width:311px; height:20px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/glycosanamnesiscdlist/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_hypetsanamnesisdetl" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsanamnesisdetl" appearance="minimal" style="left:443px; top:85px; width:311px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/hypetsanamnesiscdlist/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:600px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">기왕력자</caption>
- <caption id="caption31" class="cell_1" style="left:285px; top:31px; width:156px; height:23px; text-align:center; vertical-align:middle; ">기왕력자</caption>
- <bool id="bol_glycosyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosyn" style="left:170px; top:34px; width:15px; height:15px; border-style:none; "/>
- <bool id="bol_hypetsyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsyn" style="left:485px; top:34px; width:15px; height:15px; border-style:none; "/>
- <bool id="bol_glycosanamnesisyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_glycosanamnesisyn" style="left:320px; top:34px; width:15px; height:15px; border-style:none; "/>
- <bool id="bol_hypetsanamnesisyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_hypetsanamnesisyn" style="left:636px; top:34px; width:15px; height:15px; border-style:none; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:80px; x2:757px; y2:80px; "/>
- <textarea id="txt_rsltsmmcnt" ref="/root/main/acptinfo/judginfo/secondjudg/sec_rsltsmmcnt" imemode="hangul" style="left:127px; top:111px; width:628px; height:36px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:192px; x2:757px; y2:192px; "/>
- <textarea id="txt_colgrecmfact" ref="/root/main/acptinfo/judginfo/secondjudg/sec_colgrecmfact" imemode="hangul" style="left:127px; top:154px; width:628px; height:36px; "/>
- <input id="input3" ref="/root/main/acptinfo/judginfo/secondjudg/sec_scndjudgdd" class="input_essential" disabled="true" inputtype="date" style="left:127px; top:7px; width:110px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:383px; top:5px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
- <select1 id="cmb_scndjudgdrid" ref="/root/main/acptinfo/judginfo/secondjudg/sec_scndjudgdrid" class="combo" appearance="minimal" style="left:505px; top:7px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption33" class="cell_1" style="left:5px; top:5px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
- <line id="line6" class="line_2" style="x1:5px; y1:28px; x2:757px; y2:28px; "/>
- <line id="line16" class="line_2" style="x1:5px; y1:54px; x2:757px; y2:54px; "/>
- <line id="line17" class="line_2" style="x1:5px; y1:106px; x2:757px; y2:106px; "/>
- <line id="line2" class="line_2" style="x1:5px; y1:149px; x2:757px; y2:149px; "/>
- <caption id="caption25" class="cell_1" style="left:5px; top:195px; width:120px; height:40px; text-align:center; vertical-align:middle; ">
- <![CDATA[인지기능장애
- (생애66/70/74)]]>
- </caption>
- <caption id="caption34" class="cell_1" style="left:5px; top:238px; width:120px; height:23px; text-align:center; vertical-align:middle; ">우울증(생애40세)</caption>
- <caption id="caption35" class="cell_1" style="left:5px; top:264px; width:120px; height:23px; text-align:center; vertical-align:middle; ">우울증(생애66세)</caption>
- <select1 id="cmb_awarfunthandcap" ref="/root/main/acptinfo/judginfo/secondjudg/sec_awarfunthandcap" appearance="minimal" style="left:127px; top:205px; width:628px; height:36px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/awarfunthandcaplst/G028">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_melancholia1" ref="/root/main/acptinfo/judginfo/secondjudg/sec_melancholia1" appearance="minimal" style="left:127px; top:240px; width:628px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/melancholia1lst/G072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_melancholia2" ref="/root/main/acptinfo/judginfo/secondjudg/sec_melancholia2" appearance="minimal" style="left:127px; top:266px; width:628px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/melancholia2lst/G073">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line18" class="line_2" style="x1:5px; y1:235px; x2:757px; y2:235px; "/>
- <line id="line20" class="line_2" style="x1:5px; y1:261px; x2:757px; y2:261px; "/>
- <line id="line21" class="line_3" style="x1:5px; y1:288px; x2:757px; y2:288px; "/>
- <button id="btn_secondjudg" class="btn2_letter6" style="left:20px; top:160px; width:86px; height:19px; ">
- <caption>종합권고사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(txt_colgrecmfact,"G0112");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter7" style="left:20px; top:128px; width:92px; height:19px; ">
- <caption>결과요약(생애)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(txt_rsltsmmcnt,"G011");
- ]]>
- </script>
- </button>
- </case>
- <case id="case_lifejudg">
- <caption id="caption40" class="cell_1" style="left:87px; top:5px; width:80px; height:23px; text-align:center; vertical-align:middle; ">니코틴의존도</caption>
- <caption id="caption43" class="cell_1" style="left:87px; top:31px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방</caption>
- <caption id="caption44" class="cell_1" style="left:5px; top:5px; width:80px; height:49px; text-align:center; vertical-align:middle; ">흡연</caption>
- <caption id="caption45" class="cell_1" style="left:87px; top:59px; width:80px; height:23px; text-align:center; vertical-align:middle; ">평가</caption>
- <caption id="caption46" class="cell_1" style="left:87px; top:85px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방</caption>
- <caption id="caption47" class="cell_1" style="left:5px; top:59px; width:80px; height:49px; text-align:center; vertical-align:middle; ">음주</caption>
- <line id="line8" class="line_1" style="x1:5px; y1:0px; x2:757px; y2:0px; "/>
- <caption id="caption48" class="cell_1" style="left:87px; top:113px; width:80px; height:23px; text-align:center; vertical-align:middle; ">평가</caption>
- <caption id="caption49" class="cell_1" style="left:87px; top:139px; width:80px; height:23px; text-align:center; vertical-align:middle; ">종류</caption>
- <caption id="caption52" class="cell_1" style="left:5px; top:113px; width:80px; height:101px; text-align:center; vertical-align:middle; ">운동</caption>
- <caption id="caption53" class="cell_1" style="left:87px; top:165px; width:80px; height:23px; text-align:center; vertical-align:middle; ">시간</caption>
- <caption id="caption54" class="cell_1" style="left:87px; top:191px; width:80px; height:23px; text-align:center; vertical-align:middle; ">횟수</caption>
- <line id="line22" class="line_2" style="x1:87px; y1:28px; x2:332px; y2:28px; "/>
- <line id="line23" class="line_3" style="x1:5px; y1:55px; x2:332px; y2:55px; "/>
- <line id="line24" class="line_2" style="x1:87px; y1:82px; x2:332px; y2:82px; "/>
- <line id="line25" class="line_3" style="x1:5px; y1:109px; x2:332px; y2:109px; "/>
- <line id="line28" class="line_2" style="x1:87px; y1:136px; x2:332px; y2:136px; "/>
- <line id="line29" class="line_2" style="x1:87px; y1:162px; x2:332px; y2:162px; "/>
- <line id="line30" class="line_2" style="x1:87px; y1:188px; x2:332px; y2:188px; "/>
- <line id="line34" class="line_3" style="x1:5px; y1:215px; x2:332px; y2:215px; "/>
- <select1 id="cmb_smoknicotinedepend" ref="/root/main/acptinfo/judginfo/secondjudg/sec_smoknicotinedepend" appearance="minimal" style="left:169px; top:7px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/smoknicotinedependlst/G074">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption36" class="cell_1" style="left:420px; top:5px; width:80px; height:23px; text-align:center; vertical-align:middle; ">평 가</caption>
- <caption id="caption37" class="cell_1" style="left:338px; top:5px; width:80px; height:128px; text-align:center; vertical-align:middle; ">영양</caption>
- <line id="line36" class="line_2" style="x1:420px; y1:28px; x2:757px; y2:28px; "/>
- <caption id="caption38" class="cell_1" style="left:420px; top:31px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방(추천)</caption>
- <caption id="caption39" class="cell_1" style="left:420px; top:57px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처방(절제)</caption>
- <caption id="caption41" class="cell_1" style="left:420px; top:83px; width:80px; height:23px; text-align:center; vertical-align:middle; ">식사습관</caption>
- <caption id="caption42" class="cell_1" style="left:420px; top:109px; width:80px; height:23px; text-align:center; vertical-align:middle; ">연 계</caption>
- <line id="line38" class="line_2" style="x1:420px; y1:54px; x2:747px; y2:54px; "/>
- <line id="line39" class="line_2" style="x1:420px; y1:80px; x2:757px; y2:80px; "/>
- <line id="line40" class="line_2" style="x1:420px; y1:106px; x2:757px; y2:106px; "/>
- <line id="line41" class="line_3" style="x1:338px; y1:133px; x2:757px; y2:133px; "/>
- <caption id="caption56" class="cell_1" style="left:338px; top:137px; width:80px; height:117px; text-align:center; vertical-align:middle; ">비만</caption>
- <caption id="caption59" class="cell_1" style="left:420px; top:163px; width:80px; height:23px; text-align:center; vertical-align:middle; ">복부비만</caption>
- <caption id="caption60" class="cell_1" style="left:420px; top:189px; width:80px; height:65px; text-align:center; vertical-align:middle; ">처 방</caption>
- <caption id="caption61" class="cell_1" style="left:420px; top:137px; width:80px; height:23px; text-align:center; vertical-align:middle; ">체질량지수</caption>
- <line id="line42" class="line_2" style="x1:420px; y1:160px; x2:757px; y2:160px; "/>
- <line id="line43" class="line_2" style="x1:420px; y1:186px; x2:757px; y2:186px; "/>
- <line id="line44" class="line_3" style="x1:338px; y1:255px; x2:757px; y2:255px; "/>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_smokyn" style="left:16px; top:21px; width:15px; height:15px; border-style:none; "/>
- <bool id="bool2" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_drunkyn" style="left:16px; top:75px; width:15px; height:15px; border-style:none; "/>
- <bool id="bool3" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exeryn" style="left:16px; top:155px; width:15px; height:15px; border-style:none; "/>
- <bool id="bool4" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutryn" style="left:350px; top:60px; width:15px; height:15px; border-style:none; "/>
- <bool id="bool5" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatyn" style="left:350px; top:187px; width:15px; height:15px; border-style:none; "/>
- <select1 id="cmb_smokprcp" ref="/root/main/acptinfo/judginfo/secondjudg/sec_smokprcp" appearance="minimal" style="left:169px; top:33px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/smokprcplst/G075">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_drunkvalu" ref="/root/main/acptinfo/judginfo/secondjudg/sec_drunkvalu" appearance="minimal" style="left:169px; top:61px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/drunkvalulst/G076">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_drunkprcp" ref="/root/main/acptinfo/judginfo/secondjudg/sec_drunkprcp" appearance="minimal" style="left:169px; top:87px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/drunkprcplst/G015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_exervalu" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exervalu" appearance="minimal" style="left:169px; top:115px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/exervalulst/G016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_exerkind" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exerkind" appearance="minimal" style="left:169px; top:141px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/exerkindlst/G017">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_exertm" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exertm" appearance="minimal" style="left:169px; top:167px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/exertmlst/G018">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_exertims" ref="/root/main/acptinfo/judginfo/secondjudg/sec_exertims" appearance="minimal" style="left:169px; top:195px; width:160px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/exertimslst/G019">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_nutrvalu" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrvalu" appearance="full" cols="3" overflow="visible" style="left:504px; top:7px; width:251px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/nutrvalulst/G020">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_nutrprcprecm" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrprcprecm" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:33px; width:251px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/nutrprcprecmlst/G021">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="chk_nutrprcptemperance" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrprcptemperance" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:60px; width:251px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/nutrprcptemperancelst/G022">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="chk_nutrmealhabit" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrmealhabit" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:85px; width:251px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/nutrmealhabitlst/G023">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="chk_nutrlnk" ref="/root/main/acptinfo/judginfo/secondjudg/sec_nutrlnk" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:504px; top:111px; width:251px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/nutrlnklst/G024">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select1 id="cmb_fatsievqtyindx" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatsievqtyindx" appearance="minimal" style="left:504px; top:139px; width:251px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/fatsievqtyindxlst/G025">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_fatabdmn" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatabdmn" appearance="minimal" style="left:504px; top:165px; width:251px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/fatabdmnlst/G026">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_fatprcp" ref="/root/main/acptinfo/judginfo/secondjudg/sec_fatprcp" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:504px; top:190px; width:251px; height:60px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/fatprcplst/G027">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- </case>
- <case id="case_oral">
- <caption id="caption50" class="cell_1" style="left:5px; top:7px; width:55px; height:23px; vertical-align:middle; ">산정금액</caption>
- <input id="ipt_oralestmamt" ref="/root/main/acptinfo/judginfo/oraljudg/oral_estmamt" class="input_search" style="left:63px; top:9px; width:101px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:5px; top:31px; width:55px; height:192px; vertical-align:middle; ">판정</caption>
- <line id="line31" class="line_1" style="x1:5px; y1:2px; x2:755px; y2:2px; "/>
- <line id="line32" class="line_3" style="x1:5px; y1:223px; x2:755px; y2:223px; "/>
- <line id="line33" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
- <select id="chk_oraljudgcd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgcd" overflow="visible" appearance="full" cellspacing="200" cols="2" sep="▦" vcellspacing="10" style="left:63px; top:35px; width:690px; height:180px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/oraljudglst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <select1 id="cmb_oraljudgdrid" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdrid" class="combo" appearance="minimal" style="left:386px; top:9px; width:208px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_oraljudgdd" ref="/root/main/acptinfo/judginfo/oraljudg/oral_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:225px; top:9px; width:100px; height:19px; "/>
- <caption id="caption65" class="cell_1" style="left:167px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정일자</caption>
- <caption id="caption66" class="cell_1" style="left:328px; top:7px; width:55px; height:23px; vertical-align:middle; ">판정의</caption>
- </case>
- <case id="case_lifehabit">
- <switch id="switch1" style="left:5px; top:25px; width:752px; height:291px; ">
- <case id="case_nosmok" selected="true">
- <caption id="caption67" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">흡연</caption>
- <line id="line14" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
- <line id="line45" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
- <select1 id="cmb_smok" ref="/root/main/acptinfo/judginfo/lifehabitprcp/smokflag" disabled="true" navindex="2" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_smoklst/G077">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption68" class="cell_1" style="left:380px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">니코틴의존</caption>
- <select1 id="cmb_nicodepend" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nicodepend" disabled="true" navindex="3" appearance="minimal" style="left:515px; top:9px; width:230px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_nicodependlst/G078">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption69" class="cell_1" style="left:5px; top:33px; width:130px; height:23px; text-align:center; vertical-align:middle; ">금연책자숙독</caption>
- <caption id="caption70" class="cell_1" style="left:5px; top:59px; width:130px; height:38px; text-align:center; vertical-align:middle; ">니코틴대체요법</caption>
- <line id="line46" class="line_2" style="x1:5px; y1:57px; x2:745px; y2:57px; "/>
- <caption id="caption71" class="cell_1" style="left:5px; top:100px; width:130px; height:38px; text-align:center; vertical-align:middle; ">금연약물</caption>
- <line id="line47" class="line_2" style="x1:5px; y1:98px; x2:745px; y2:98px; "/>
- <caption id="caption72" class="cell_1" style="left:5px; top:141px; width:130px; height:23px; text-align:center; vertical-align:middle; ">지원서비스</caption>
- <line id="line48" class="line_2" style="x1:5px; y1:139px; x2:745px; y2:139px; "/>
- <caption id="caption73" class="cell_1" style="left:5px; top:167px; width:130px; height:43px; text-align:center; vertical-align:middle; ">기타</caption>
- <line id="line49" class="line_2" style="x1:5px; y1:211px; x2:745px; y2:211px; "/>
- <line id="line50" class="line_2" style="x1:5px; y1:165px; x2:745px; y2:165px; "/>
- <caption id="caption74" class="cell_1" style="left:5px; top:213px; width:130px; height:73px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
- <select1 id="cmb_nosmokbookread" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nosmokbookread" disabled="true" navindex="4" appearance="minimal" style="left:140px; top:35px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_nosmokbooklst/G079">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <textarea id="txt_nicochangeregm" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nicochangeregm" disabled="true" navindex="5" imemode="hangul" style="left:140px; top:60px; width:605px; height:36px; "/>
- <textarea id="txt_nosmokdrug" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nosmokdrug" disabled="true" navindex="6" imemode="hangul" style="left:140px; top:101px; width:605px; height:36px; "/>
- <select1 id="cmb_suppservice" ref="/root/main/acptinfo/judginfo/lifehabitprcp/suppservice" disabled="true" navindex="7" appearance="minimal" style="left:140px; top:143px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_suppservicelst/G080">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <textarea id="txt_suppserviceetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/suppserviceetc" disabled="true" navindex="8" imemode="hangul" style="left:140px; top:168px; width:605px; height:41px; "/>
- <select id="chk_smokbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/smokbettersick" disabled="true" navindex="9" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:216px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_smokbettersicklst/G081">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- </case>
- <case id="case_drunk">
- <caption id="caption77" style="left:200px; top:35px; width:452px; height:20px; ">일 동안 금주, 하루 잔 만 일주일 잔 만 휴간일</caption>
- <line id="line51" class="line_2" style="x1:5px; y1:57px; x2:745px; y2:57px; "/>
- <line id="line52" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
- <caption id="caption75" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">음주상태</caption>
- <caption id="caption76" class="cell_1" style="left:5px; top:33px; width:130px; height:23px; text-align:center; vertical-align:middle; ">금주/절주 처방</caption>
- <line id="line53" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
- <input id="ipt_nodrunkday" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nodrunkday" disabled="true" navindex="11" style="left:141px; top:35px; width:55px; height:19px; "/>
- <select1 id="cmb_drunkstat" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkstat" disabled="true" navindex="10" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_drunkstatlst/G082">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_daydrunkcnt" ref="/root/main/acptinfo/judginfo/lifehabitprcp/daydrunkcnt" disabled="true" navindex="12" style="left:308px; top:35px; width:55px; height:19px; "/>
- <input id="ipt_weekdrunkcnt" ref="/root/main/acptinfo/judginfo/lifehabitprcp/weekdrunkcnt" disabled="true" navindex="13" style="left:445px; top:35px; width:55px; height:19px; "/>
- <input id="ipt_drunkrestday" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkrestday" disabled="true" navindex="14" style="left:545px; top:35px; width:55px; height:19px; "/>
- <line id="line54" class="line_2" style="x1:5px; y1:83px; x2:745px; y2:83px; "/>
- <select1 id="cmb_drunkdiary" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkdiary" disabled="true" navindex="15" appearance="minimal" style="left:140px; top:61px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_drunkdiarylst/G083">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_nodrunkbook" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nodrunkbook" disabled="true" navindex="16" appearance="minimal" style="left:515px; top:61px; width:230px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_nodrunkbooklst/G084">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption81" class="cell_1" style="left:5px; top:59px; width:130px; height:23px; text-align:center; vertical-align:middle; ">음주일기</caption>
- <caption id="caption82" class="cell_1" style="left:380px; top:59px; width:130px; height:23px; text-align:center; vertical-align:middle; ">금주책자</caption>
- <caption id="caption83" class="cell_1" style="left:5px; top:85px; width:130px; height:52px; text-align:center; vertical-align:middle; ">약물</caption>
- <caption id="caption84" class="cell_1" style="left:5px; top:140px; width:130px; height:58px; text-align:center; vertical-align:middle; ">기타</caption>
- <line id="line55" class="line_2" style="x1:5px; y1:138px; x2:745px; y2:138px; "/>
- <line id="line56" class="line_2" style="x1:5px; y1:199px; x2:745px; y2:199px; "/>
- <textarea id="txt_drunkdrug" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkdrug" disabled="true" navindex="17" imemode="hangul" style="left:140px; top:86px; width:605px; height:50px; "/>
- <textarea id="txt_drunketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunketc" disabled="true" navindex="18" imemode="hangul" style="left:140px; top:141px; width:605px; height:56px; "/>
- <select id="chk_drunkbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/drunkbettersick" disabled="true" navindex="19" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:204px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_nodrunkbettersicklst/G085">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption85" class="cell_1" style="left:5px; top:201px; width:130px; height:83px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
- </case>
- <case id="case_exer">
- <caption id="caption86" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">운동수준</caption>
- <select1 id="cmb_exergrade" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exergrade" disabled="true" navindex="20" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_exergradelst/G086">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line57" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
- <line id="line58" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
- <line id="line59" class="line_2" style="x1:5px; y1:82px; x2:745px; y2:82px; "/>
- <caption id="caption87" class="cell_1" style="left:5px; top:33px; width:130px; height:48px; text-align:center; vertical-align:middle; ">운동종류</caption>
- <caption id="caption88" class="cell_1" style="left:5px; top:84px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
- <select id="chk_exerkind" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerkind" disabled="true" navindex="21" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:35px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_exerkindlst/G087">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <line id="line60" class="line_2" style="x1:5px; y1:108px; x2:745px; y2:108px; "/>
- <caption id="caption89" class="cell_1" style="left:5px; top:110px; width:130px; height:23px; text-align:center; vertical-align:middle; ">운동시간</caption>
- <line id="line61" class="line_2" style="x1:5px; y1:134px; x2:745px; y2:134px; "/>
- <select1 id="cmb_exertime" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exertime" disabled="true" navindex="23" appearance="minimal" style="left:140px; top:112px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_exertimelst/G088">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption91" class="cell_1" style="left:5px; top:136px; width:130px; height:23px; text-align:center; vertical-align:middle; ">운동횟수</caption>
- <select1 id="cmb_exercnt" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exercnt" disabled="true" navindex="25" appearance="minimal" style="left:140px; top:138px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_exercountlst/G089">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line63" class="line_2" style="x1:5px; y1:160px; x2:745px; y2:160px; "/>
- <select id="chk_exerbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerbettersick" disabled="true" navindex="26" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:165px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_exerbettersicklst/G090">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption92" class="cell_1" style="left:5px; top:162px; width:130px; height:58px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
- <textarea id="txt_exerkindetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerkindetc" disabled="true" navindex="22" style="left:140px; top:85px; width:605px; height:20px; "/>
- <textarea id="txt_exertimeetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exertimeetc" disabled="true" navindex="24" style="left:319px; top:111px; width:426px; height:21px; "/>
- <caption id="caption93" class="cell_1" style="left:270px; top:110px; width:45px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
- <line id="line62" class="line_2" style="x1:5px; y1:221px; x2:745px; y2:221px; "/>
- <textarea id="txt_exerbettersicketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerbettersicketc" disabled="true" navindex="27" imemode="hangul" style="left:140px; top:224px; width:605px; height:20px; "/>
- <caption id="caption90" class="cell_1" style="left:5px; top:223px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
- <line id="line64" class="line_2" style="x1:5px; y1:247px; x2:745px; y2:247px; "/>
- <caption id="caption94" class="cell_1" style="left:5px; top:249px; width:130px; height:37px; text-align:center; vertical-align:middle; ">의뢰</caption>
- <textarea id="txt_exerreq" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exerreq" disabled="true" navindex="28" imemode="hangul" style="left:140px; top:250px; width:605px; height:35px; "/>
- </case>
- <case id="case_nutrition">
- <caption id="caption95" class="cell_1" style="left:5px; top:7px; width:130px; height:23px; text-align:center; vertical-align:middle; ">식생활습관</caption>
- <select id="chk_ntrhabitbetterprcp" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrhabitbetterprcp" disabled="true" navindex="30" overflow="visible" appearance="full" cellspacing="20" cols="5" vcellspacing="5" style="left:140px; top:35px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_eatlifebetterprcplst/G092">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption96" class="cell_1" style="left:5px; top:33px; width:130px; height:68px; text-align:center; vertical-align:middle; ">식생활습관 개선처방</caption>
- <line id="line65" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
- <line id="line66" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
- <line id="line67" class="line_2" style="x1:5px; y1:102px; x2:745px; y2:102px; "/>
- <select1 id="cmb_ntrhabit" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrhabit" disabled="true" navindex="29" appearance="minimal" style="left:140px; top:9px; width:235px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_eatlifehabitlst/G091">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption97" class="cell_1" style="left:5px; top:104px; width:130px; height:68px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
- <line id="line68" class="line_2" style="x1:5px; y1:173px; x2:745px; y2:173px; "/>
- <select id="chk_ntrbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrbettersick" disabled="true" navindex="31" overflow="visible" appearance="full" cellspacing="20" cols="6" vcellspacing="5" style="left:140px; top:106px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_nutrbettersicklst/G093">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption98" class="cell_1" style="left:5px; top:175px; width:130px; height:42px; text-align:center; vertical-align:middle; ">기타</caption>
- <caption id="caption99" class="cell_1" style="left:5px; top:220px; width:130px; height:63px; text-align:center; vertical-align:middle; ">의뢰</caption>
- <line id="line69" class="line_2" style="x1:5px; y1:218px; x2:745px; y2:218px; "/>
- <textarea id="txt_ntrbettersicketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrbettersicketc" disabled="true" navindex="32" imemode="hangul" style="left:140px; top:176px; width:605px; height:40px; "/>
- <textarea id="txt_ntrreq" ref="/root/main/acptinfo/judginfo/lifehabitprcp/ntrreq" navindex="33" imemode="hangul" style="left:140px; top:221px; width:605px; height:61px; "/>
- </case>
- <case id="case_fat">
- <caption id="caption79" style="left:200px; top:36px; width:357px; height:20px; ">%까지 낮춤 Kg목표 개월 Kg감량</caption>
- <caption id="caption100" class="cell_1" style="left:5px; top:7px; width:40px; height:23px; text-align:center; vertical-align:middle; ">체중</caption>
- <line id="line70" class="line_2" style="x1:5px; y1:31px; x2:745px; y2:31px; "/>
- <line id="line71" class="line_1" style="x1:5px; y1:2px; x2:745px; y2:2px; "/>
- <select1 id="cmb_bodyweight" ref="/root/main/acptinfo/judginfo/lifehabitprcp/bodyweight" disabled="true" navindex="34" appearance="minimal" style="left:48px; top:9px; width:195px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_bodyweightlst/G094">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_fatstat" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatstat" disabled="true" navindex="35" appearance="minimal" style="left:289px; top:9px; width:175px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_fatlst/G095">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption101" class="cell_1" style="left:246px; top:7px; width:40px; height:23px; text-align:center; vertical-align:middle; ">비만</caption>
- <select1 id="cmb_sickoccurgrade" ref="/root/main/acptinfo/judginfo/lifehabitprcp/sickoccurgrade" disabled="true" navindex="36" appearance="minimal" style="left:555px; top:9px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_sickoccurgradelst/G096">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption102" class="cell_1" style="left:467px; top:8px; width:85px; height:23px; text-align:center; vertical-align:middle; ">질환발생위험</caption>
- <caption id="caption103" class="cell_1" style="left:5px; top:33px; width:130px; height:23px; text-align:center; vertical-align:middle; ">목표체중</caption>
- <line id="line73" class="line_2" style="x1:5px; y1:57px; x2:745px; y2:57px; "/>
- <line id="line74" class="line_2" style="x1:5px; y1:108px; x2:745px; y2:108px; "/>
- <caption id="caption104" class="cell_1" style="left:5px; top:59px; width:130px; height:48px; text-align:center; vertical-align:middle; ">비만처방</caption>
- <select id="chk_lifefatprcp" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatprcp" disabled="true" navindex="41" overflow="visible" appearance="full" cellspacing="20" cols="5" vcellspacing="5" style="left:140px; top:59px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_fatprcplst/G097">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <line id="line75" class="line_2" style="x1:5px; y1:134px; x2:745px; y2:134px; "/>
- <caption id="caption105" class="cell_1" style="left:5px; top:110px; width:130px; height:23px; text-align:center; vertical-align:middle; ">약물치료</caption>
- <line id="line76" class="line_2" style="x1:5px; y1:160px; x2:745px; y2:160px; "/>
- <caption id="caption106" class="cell_1" style="left:5px; top:136px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
- <line id="line77" class="line_2" style="x1:5px; y1:231px; x2:745px; y2:231px; "/>
- <caption id="caption107" class="cell_1" style="left:5px; top:162px; width:130px; height:68px; text-align:center; vertical-align:middle; ">호전가능 질병상태</caption>
- <line id="line72" class="line_2" style="x1:5px; y1:257px; x2:745px; y2:257px; "/>
- <caption id="caption108" class="cell_1" style="left:5px; top:233px; width:130px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
- <caption id="caption109" class="cell_1" style="left:5px; top:259px; width:130px; height:27px; text-align:center; vertical-align:middle; ">의뢰</caption>
- <textarea id="txt_fatprcpetc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatprcpetc" disabled="true" navindex="43" imemode="hangul" style="left:140px; top:136px; width:605px; height:23px; "/>
- <textarea id="txt_fatbettersicketc" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatbettersicketc" disabled="true" navindex="45" imemode="hangul" style="left:140px; top:233px; width:605px; height:23px; "/>
- <textarea id="txt_fatreq" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatreq" disabled="true" navindex="46" imemode="hangul" style="left:140px; top:259px; width:605px; height:27px; "/>
- <select id="chk_fatbettersick" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatbettersick" disabled="true" navindex="44" overflow="visible" appearance="full" cellspacing="20" cols="5" vcellspacing="5" style="left:140px; top:162px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/life_fatbettersicklst/G098">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <input id="ipt_eduweightper" ref="/root/main/acptinfo/judginfo/lifehabitprcp/reduweightper" disabled="true" navindex="37" style="left:140px; top:35px; width:55px; height:19px; "/>
- <input id="ipt_goalweight" ref="/root/main/acptinfo/judginfo/lifehabitprcp/goalweight" disabled="true" navindex="38" style="left:278px; top:35px; width:55px; height:19px; "/>
- <input id="ipt_goalmonth" ref="/root/main/acptinfo/judginfo/lifehabitprcp/goalmonth" disabled="true" navindex="39" style="left:383px; top:35px; width:45px; height:19px; "/>
- <input id="ipt_reduweight" ref="/root/main/acptinfo/judginfo/lifehabitprcp/reduweight" disabled="true" navindex="40" style="left:465px; top:35px; width:50px; height:19px; "/>
- <textarea id="txt_fatdrugcure" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatdrugcure" disabled="true" navindex="42" imemode="hangul" style="left:140px; top:111px; width:605px; height:23px; "/>
- </case>
- </switch>
- <button id="btn_nosmok" class="btn_sw" group="tab_life" selected="true" style="left:5px; top:5px; width:104px; height:22px; ">
- <caption>금연 처방전</caption>
- <toggle case="case_nosmok" ev:event="onclick"/>
- </button>
- <button id="btn_drunk" class="btn_sw" group="tab_life" selected="false" style="left:109px; top:5px; width:138px; height:22px; ">
- <caption>음주/절주 처방전</caption>
- <toggle case="case_drunk" ev:event="onclick"/>
- </button>
- <button id="btn_exer" class="btn_sw" group="tab_life" selected="false" style="left:247px; top:5px; width:109px; height:22px; ">
- <caption>운동 처방전</caption>
- <toggle case="case_exer" ev:event="onclick"/>
- </button>
- <button id="btn_nutrition" class="btn_sw" group="tab_life" selected="false" style="left:356px; top:5px; width:114px; height:22px; ">
- <caption>영양 처방전</caption>
- <toggle case="case_nutrition" ev:event="onclick"/>
- </button>
- <button id="btn_fat" class="btn_sw" group="tab_life" selected="false" style="left:470px; top:5px; width:109px; height:22px; ">
- <caption>비만 처방전</caption>
- <toggle case="case_fat" ev:event="onclick"/>
- </button>
- <caption id="caption64" class="cell_1" style="left:595px; top:2px; width:45px; height:23px; text-align:center; vertical-align:middle; ">전문의</caption>
- <select1 id="cmb_atdoct" ref="/root/main/acptinfo/judginfo/lifehabitprcp/atdoct" class="combo" navindex="1" appearance="minimal" style="left:642px; top:4px; width:113px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool_nosmok" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nosmokuseyn" style="left:4px; top:7px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var activeStat = fGetActiveStat(bool_nosmok.value);
-
-
- chk_smokbettersick.disabled = !activeStat;
- txt_suppserviceetc.disabled = !activeStat;
- cmb_suppservice.disabled = !activeStat;
- txt_nosmokdrug.disabled = !activeStat;
- txt_nicochangeregm.disabled = !activeStat;
- cmb_nosmokbookread.disabled = !activeStat;
- cmb_nicodepend.disabled = !activeStat;
- cmb_smok.disabled = !activeStat;
-
- if(!activeStat) {
- model.resetInstanceNode(chk_smokbettersick.attribute("ref"));
- model.resetInstanceNode(txt_suppserviceetc.attribute("ref"));
- model.resetInstanceNode(cmb_suppservice.attribute("ref"));
- model.resetInstanceNode(txt_nosmokdrug.attribute("ref"));
- model.resetInstanceNode(txt_nicochangeregm.attribute("ref"));
- model.resetInstanceNode(cmb_nosmokbookread.attribute("ref"));
- model.resetInstanceNode(cmb_nicodepend.attribute("ref"));
- model.resetInstanceNode(cmb_smok.attribute("ref"));
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bool_nodrunk" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nodrunkuseyn" style="left:110px; top:7px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var activeStat = fGetActiveStat(bool_nodrunk.value);
-
- chk_drunkbettersick.disabled = !activeStat;
- txt_drunketc.disabled = !activeStat;
- txt_drunkdrug.disabled = !activeStat;
- cmb_nodrunkbook.disabled = !activeStat;
- cmb_drunkdiary.disabled = !activeStat;
- ipt_drunkrestday.disabled = !activeStat;
- ipt_weekdrunkcnt.disabled = !activeStat;
- ipt_daydrunkcnt.disabled = !activeStat;
- ipt_nodrunkday.disabled = !activeStat;
- cmb_drunkstat.disabled = !activeStat;
-
- if(!activeStat) {
- model.resetInstanceNode(chk_drunkbettersick.attribute("ref"));
- model.resetInstanceNode(txt_drunketc.attribute("ref"));
- model.resetInstanceNode(txt_drunkdrug.attribute("ref"));
- model.resetInstanceNode(cmb_nodrunkbook.attribute("ref"));
- model.resetInstanceNode(cmb_drunkdiary.attribute("ref"));
- model.resetInstanceNode(ipt_drunkrestday.attribute("ref"));
- model.resetInstanceNode(ipt_weekdrunkcnt.attribute("ref"));
- model.resetInstanceNode(ipt_daydrunkcnt.attribute("ref"));
- model.resetInstanceNode(ipt_nodrunkday.attribute("ref"));
- model.resetInstanceNode(cmb_drunkstat.attribute("ref"));
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bool_exer" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/exeruseyn" style="left:249px; top:7px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var activeStat = fGetActiveStat(bool_exer.value);
-
- cmb_exergrade.disabled = !activeStat;
- chk_exerkind.disabled = !activeStat;
- txt_exerkindetc.disabled = !activeStat;
- cmb_exertime.disabled = !activeStat;
- txt_exertimeetc.disabled = !activeStat;
- cmb_exercnt.disabled = !activeStat;
- chk_exerbettersick.disabled = !activeStat;
- txt_exerbettersicketc.disabled = !activeStat;
- txt_exerreq.disabled = !activeStat;
-
- if(!activeStat) {
- model.resetInstanceNode(cmb_exergrade.attribute("ref"));
- model.resetInstanceNode(chk_exerkind.attribute("ref"));
- model.resetInstanceNode(txt_exerkindetc.attribute("ref"));
- model.resetInstanceNode(cmb_exertime.attribute("ref"));
- model.resetInstanceNode(txt_exertimeetc.attribute("ref"));
- model.resetInstanceNode(cmb_exercnt.attribute("ref"));
- model.resetInstanceNode(chk_exerbettersick.attribute("ref"));
- model.resetInstanceNode(txt_exerbettersicketc.attribute("ref"));
- model.resetInstanceNode(txt_exerreq.attribute("ref"));
-
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bool_nutrition" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/nutritionuseyn" style="left:358px; top:7px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var activeStat = fGetActiveStat(bool_nutrition.value);
-
- cmb_ntrhabit.disabled = !activeStat;
- chk_ntrhabitbetterprcp.disabled = !activeStat;
- chk_ntrbettersick.disabled = !activeStat;
- txt_ntrbettersicketc.disabled = !activeStat;
- txt_ntrreq.disabled = !activeStat;
-
- if(!activeStat) {
- model.resetInstanceNode(cmb_ntrhabit.attribute("ref"));
- model.resetInstanceNode(chk_ntrhabitbetterprcp.attribute("ref"));
- model.resetInstanceNode(chk_ntrbettersick.attribute("ref"));
- model.resetInstanceNode(txt_ntrbettersicketc.attribute("ref"));
- model.resetInstanceNode(txt_ntrreq.attribute("ref"));
-
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bool_fat" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/lifehabitprcp/fatuseyn" style="left:471px; top:7px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var activeStat = fGetActiveStat(bool_fat.value);
-
- cmb_bodyweight.disabled = !activeStat;
- cmb_fatstat.disabled = !activeStat;
- cmb_sickoccurgrade.disabled = !activeStat;
- ipt_eduweightper.disabled = !activeStat;
- ipt_goalweight.disabled = !activeStat;
- ipt_goalmonth.disabled = !activeStat;
- ipt_reduweight.disabled = !activeStat;
- chk_lifefatprcp.disabled = !activeStat;
- txt_fatdrugcure.disabled = !activeStat;
- txt_fatprcpetc.disabled = !activeStat;
- chk_fatbettersick.disabled = !activeStat;
- txt_fatbettersicketc.disabled = !activeStat;
- txt_fatreq.disabled = !activeStat;
-
- if(!activeStat) {
- model.resetInstanceNode(cmb_bodyweight.attribute("ref"));
- model.resetInstanceNode(cmb_fatstat.attribute("ref"));
- model.resetInstanceNode(cmb_sickoccurgrade.attribute("ref"));
- model.resetInstanceNode(ipt_eduweightper.attribute("ref"));
- model.resetInstanceNode(ipt_goalweight.attribute("ref"));
- model.resetInstanceNode(ipt_goalmonth.attribute("ref"));
- model.resetInstanceNode(ipt_reduweight.attribute("ref"));
- model.resetInstanceNode(chk_lifefatprcp.attribute("ref"));
- model.resetInstanceNode(txt_fatdrugcure.attribute("ref"));
- model.resetInstanceNode(txt_fatprcpetc.attribute("ref"));
- model.resetInstanceNode(chk_fatbettersick.attribute("ref"));
- model.resetInstanceNode(txt_fatbettersicketc.attribute("ref"));
- model.resetInstanceNode(txt_fatreq.attribute("ref"));
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- </case>
- <case id="case_etc">
- <input id="ipt_etcjudgdd" ref="/root/main/acptinfo/judginfo/etcjudg/etc_judgdd" class="input_essential" disabled="true" inputtype="date" style="left:138px; top:8px; width:110px; height:19px; "/>
- <caption id="caption78" class="cell_1" style="left:5px; top:32px; width:130px; height:283px; text-align:left; vertical-align:middle; "/>
- <caption id="caption80" class="cell_1" style="left:250px; top:6px; width:130px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
- <select1 id="cmb_etcjudgdrid" ref="/root/main/acptinfo/judginfo/etcjudg/etc_judgdrid" class="combo" appearance="minimal" style="left:382px; top:8px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption110" class="cell_1" style="left:5px; top:6px; width:130px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
- <button id="button6" class="btn2_letter8" style="left:15px; top:157px; width:108px; height:19px; ">
- <caption>소견 및 조치사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_etcjudgcnts,"G0111");
- ]]>
- </script>
- </button>
- <line id="line78" class="line_2" style="x1:5px; y1:30px; x2:758px; y2:30px; "/>
- <line id="line79" class="line_2" style="x1:5px; y1:4px; x2:758px; y2:4px; "/>
- <textarea id="tar_etcjudgcnts" ref="/root/main/acptinfo/judginfo/etcjudg/etc_judgexamcnts" style="left:138px; top:33px; width:619px; height:283px; "/>
- </case>
- <case id="case_tot">
- <textarea id="tar_totjudgexamcnts" ref="/root/main/acptinfo/judginfo/totjudg/totcmtcnts" style="left:138px; top:6px; width:619px; height:310px; "/>
- <caption id="caption111" class="cell_1" style="left:5px; top:6px; width:130px; height:310px; text-align:center; vertical-align:middle; ">종합 소견</caption>
- </case>
- </switch>
- <button id="btn_fstjudg" class="btn_sw" group="tab" selected="true" style="left:5px; top:219px; width:80px; height:22px; ">
- <caption>1차판정</caption>
- <toggle case="case_first" ev:event="onclick"/>
- </button>
- <button id="button2" class="btn_sw" visibility="hidden" group="tab" style="left:85px; top:219px; width:75px; height:22px; ">
- <caption>2차판정</caption>
- <toggle case="case_second" ev:event="onclick"/>
- </button>
- <button id="btn_lifehabit" class="btn_sw" visibility="hidden" group="tab" style="left:235px; top:219px; width:145px; height:22px; ">
- <caption>생활습관처방전(생애2차)</caption>
- <toggle case="case_lifehabit" ev:event="onclick"/>
- </button>
- <button id="btn_lifejudg" class="btn_sw" visibility="hidden" group="tab" style="left:160px; top:219px; width:75px; height:22px; ">
- <caption>생활판정</caption>
- <toggle case="case_lifejudg" ev:event="onclick"/>
- </button>
- <button id="btn_autojudg" class="btn2_letter4" visibility="hidden" style="left:432px; top:220px; width:64px; height:19px; ">
- <caption>자동판정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ret = false;
-
- if (model.getValue(cmb_fstjudgdrid.attribute("ref") ) == "" ) {
- messageBox("판정의를 ", "C001");
- return ret;
- }
-
- model.makeValue("/root/send/save/healexamflag","G");
- model.makeValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgcd","1");
- fInitSaveData();
- fCheckSaveInfo();
- // fSaveJudg(true);
- // model.makeValue("/root/send/save/dgflag",model.getValue("/root/send/dgflag"));
-
- model.makeNode("/root/send/save/saveautojudg/fst_rsltlst");
- model.setValue("/root/send/save/saveautojudg/fst_rsltlst", grd_rsltlst.getUpdateDataAll("i") );
- submit("TXAHB02402");
- fGetJudgInfo();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" visibility="hidden" style="left:503px; top:220px; width:86px; height:19px; ">
- <caption>자동판정 설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMAHA03210");
- ]]>
- </script>
- </button>
- <button id="btn_etcjudg" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:460px; top:219px; width:80px; height:22px; ">
- <caption>기타판정</caption>
- <toggle case="case_etc" ev:event="onclick"/>
- </button>
- <button id="button7" class="btn2_letter7" style="left:603px; top:220px; width:97px; height:19px; ">
- <caption>결과상태로 변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(messageBox("결과상태로 변경", "S001") == 6){
- if(messageBox("결과상태로 변경", "Q002") == 6){
- fSetAcptState("G", "N"); // 결과 상태로 변경
- }
- ]]>
- </script>
- </button>
- <button id="btn_judg" class="btn5_letter4" style="left:705px; top:220px; width:64px; height:19px; ">
- <caption>판정저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("판정내역을 ", "Q002") == 6){
- fInitSaveData();
- fSaveJudg(true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_totjudg" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:380px; top:219px; width:80px; height:22px; ">
- <caption>종합소견</caption>
- <toggle case="case_tot" ev:event="onclick"/>
- </button>
- <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" autoresize="true" backcoloralternate="transparent" caption="처방일자^분류^실시처방
유일번호^처방번호^검사코드^명칭^연계결과^결과^검사결과^단위^종류^비고^판정코드^판정값^LIS판정^Low^High" colsep="^" colwidth="70, 148, 69, 63, 74, 195, 71, 97, 62, 58, 43, 67, 80, 60, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:1px; width:768px; height:214px; ">
- <col ref="prcpdd" visibility="hidden"/>
- <col disabled="true" ref="reptprntgrupcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/comcodelst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="execprcpuniqno" visibility="hidden" style="left:90px; top:23px; width:69px; height:23px; "/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="outtestrsltcnts" visibility="hidden"/>
- <col ref="testrsltcnts" type="input" visibility="hidden"/>
- <col ref="assorsltcnts" type="input"/>
- <col ref="rsltunit"/>
- <col disabled="true" ref="rsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
- <col ref="judgcd" visibility="hidden"/>
- <col ref="judgrsltcnts" visibility="visible"/>
- <col ref="judgmark" visibility="hidden"/>
- <col ref="minval"/>
- <col ref="maxval"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (event.keyCode == 13){ //|| event.button == 1
- // grp_rslt2.visible = false;
- // if(datagrid1.rows != 1){
- // for(var i=datagrid1.rows; i>=datagrid1.fixedRows; i--){
- // datagrid1.deleteRow(i);
- // }
- // }
- grp_asso.visible = false;
- if(grd_assorsltlst.rows != 1){
- for(var i=grd_assorsltlst.rows; i>=grd_assorsltlst.fixedRows; i--){
- grd_assorsltlst.deleteRow(i);
- }
- }
-
- if (grd_rsltlst.col == window.parent.javascript.col_rslt ) { //window.parent.javascript.col_rslt = 6
- //선택형검사결과의 결과컬럼
- if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
- var cdata = fdataValue(vtestcd,vsubcd);
- if (cdata!=null){
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcd");
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/choilst/item3["+nodenumber+"]/judgexmpcnts");
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
- }
- }
-
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){//숫자형
- var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
- var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
- var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
-
- if(maxval < testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
- } else if(minval > testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
- } else {
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
- }
- }
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("testrsltcnts"));
- window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("testrsltcnts"));
- }
- else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
- //선택형검사결과의 공단결과
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
- var cdata = fdataValueAsso(vtestcd,vsubcd);
- if(cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcd");
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcnts");
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
- }
- }
- //window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt alert(") );
- /*검사결과 자동계산*/
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("assorsltcnts"));
- //window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("assorsltcnts"));
- }
- grd_rsltlst.row = grd_rsltlst.row +1;
- }
-
- /*if( ( (grd_rsltlst.col == window.parent.javascript.col_rslt ) || (grd_rsltlst.col == window.parent.javascript.col_assorslt ) ) && (event.keyCode == 13 ) ) {
- if( grd_rsltlst.row < 1) return ;
- if( grd_rsltlst.row < grd_rsltlst.rows ) {
- if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
- }
- else {
- grd_rsltlst.row = grd_rsltlst.row +1;
- //grd_rsltlst.col = col_rslt;
- //grd_rsltlst.editCell();
- window.parent.javaScript.fSetRsltInptMode();
- }
- }
- }*/
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.parent.javascript.fSetRsltInptMode();
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O" && grd_rsltlst.col == grd_rsltlst.colRef("assorsltcnts")){
- var testcd = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testcd"));
- /*
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
- for (var i=0; i<=nodeCount;i++){
- if (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+ i +"]/testcd") == testcd){
- datagrid1.addRow();
- datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltcd");
- datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
- }
- }
- grp_rslt2.visible = true;
- */
- model.removeNodeset("/root/main/tempinfo/assorsltlst/itemasso");
- grd_assorsltlst.rebuild();
-
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
- for(var i=0; i<=nodeCount; i++){
- if(model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+ i +"]/testcd") == testcd){
- grd_assorsltlst.addRow();
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltcd");
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
- }
- }
- grp_asso.visible = true;
- model.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_asso" visibility="hidden" style="left:310px; top:0px; width:275px; height:245px; ">
- <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
- <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 185" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:265px; height:215px; ">
- <col ref="rsltcd"/>
- <col ref="rsltnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //그리드의 셀 이외의 곳을 클릭하면 종료한다.
- if(!eval(grd_assorsltlst.iscell(event.target))) return false;
- // 그리드의 헤더부분을 클릭하면 종료한다.
- if(eval(grd_assorsltlst.row) < eval(grd_assorsltlst.fixedRows)) return false;
-
- var idx = grd_assorsltlst.row;
- if( idx < 1) return ;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltnm" );
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltcd" );
- grd_rsltlst.rowStatus(grd_rsltlst.row) = 2;
-
- var nextRow = grd_rsltlst.row + 1
- if(grd_rsltlst.colType(grd_rsltlst.col) == "input" && nextRow < grd_rsltlst.rows) {
- grd_rsltlst.row = nextRow;
- grd_rsltlst.editCell();
- }
-
- if(grd_rsltlst.valueMatrix(nextRow, grd_rsltlst.colRef("rsltflag")) != "O"){
- grp_asso.visible = false;
- }else{
- grp_asso.visible = true;
- }
- ]]>
- </script>
- </datagrid>
- <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:270px; y2:20px; "/>
- <button id="btn_assoclose" class="icon_plus" style="left:255px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_asso.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_small" class="icon_top" style="left:0px; top:1px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(false);
- ]]>
- </script>
- </button>
- <button id="btn_large" class="icon_bottom" style="left:0px; top:1px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(true);
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|